Newspic-Desperation
Hey Guys,
after a night of trial-and-error i thought you could help me with this:
i already changed the db.inc.php paths - see here:
$news_path = "/usr/export/www/vhosts/funnetwork/hosting/letsrock/rotschrift/newman/gfx/news";
$news_url = "../newman/gfx/news/";
and referenced the local db.inc.php in the newman_lib.php, but the #*@! - WebMagazine wants to find the picture in the WebMagazine folder - i have no idea why...
try and see yourself @ http://letsrock.le.funpic.de/rotschrift/WebMagazine/
you have to be very quick to see the missing picture and hit the right mouse button to see its location
crazy side-effect: the smileys ARE working, the smiley´s path in the db.inc.php is:
$smileys_path = "/usr/export/www/vhosts/funnetwork/hosting/letsrock/rotschrift/newman/gfx/smileys";
$smiley_url = "../newman/gfx/smileys/";
CRAZY, ISTN´T IT?
thanks in advance for your help,
Stefan
Post replies:
Reply by: letsrock
i´ll try the changes tomorrow - thanks for your help in the meantime and greets from austria,
stefan
Reply by: letsrock
in the default db.inc.php there is NO $news_pics_url, but only a $news_url so it would be nice to add this reference in the future versions.
Reply by: Peter_Vazed
Sometimes it is hard to find where the error is.
The db.inc is created by the install file.
So the install file needs a few more lines.
gts
Peter V
Reply by: letsrock
as you can see, i already managed to show the in-text-pics...
Reply by: letsrock
i´m posting my db.inc.php:
$db_server = "localhost";
$db_uname = "XXXX";
$db_pass = "XXXX";
$db_name = "letsrock";
$db_admin = "admin";
$db_groups = "groups";
$db_news = "news";
$db_news_pics = "news_pics";
$db_news_comments = "news_comments";
$db_news_logged = "news_logged";
$db_partners = "partners";
$db_pnews = "pnews";
$db_story = "story";
$db_smileys = "smileys";
$db_topic = "topic";
$db_users = "users";
$db_weekQ = "weekQ";
$db_weekA = "WeekA";
$db_weather = "weather";
$db_rss = "rss";
$db_gallery_groups = "gallery";
$db_gallery = "pictures";
$smileys_path = "/usr/export/www/vhosts/funnetwork/hosting/letsrock/rotschrift/newman/gfx/smileys";
$smiley_url = "../newman/gfx/smileys/";
$partners_path = "/usr/export/www/vhosts/funnetwork/hosting/letsrock/rotschrift/newman/gfx/partners";
$partners_url = "../newman/gfx/partners/";
$topic_path = "/usr/export/www/vhosts/funnetwork/hosting/letsrock/rotschrift/newman/topic";
$topic_url = "../newman/topic";
$rss_path = "/usr/export/www/vhosts/funnetwork/hosting/letsrock/rotschrift/newman/rss";
$news_pics_path = "/usr/export/www/vhosts/funnetwork/hosting/letsrock/rotschrift/newman/gfx/news";
$news_pics_url = "[LINK]";
$news_path = "/usr/export/www/vhosts/funnetwork/hosting/letsrock/rotschrift/newman/gfx/news";
$news_url = "[LINK]";
$gallery_path = "/usr/export/www/vhosts/funnetwork/hosting/letsrock/rotschrift/newman/gfx/gallery";
$gallery_url = "../newman/gfx/gallery/";
$weather_path = "/usr/export/www/vhosts/funnetwork/hosting/letsrock/rotschrift/newman/gfx/weather";
$weather_url = "../newman/gfx/weather/";
?>
Reply by: letsrock
the missing pic is the one with the two little arrows (more.gif) and it works (as you can see) when set in "breaking news" but it doesn´t if set in "visible news"
cool, ha?
Reply by: Peter_Vazed
$story_path = "/data/members/free/tripod/nl/d/v/z/dvzdirect/htdocs/produkten/newman/gfx/news";
$story_url = "./newman/gfx/news/";
===========
If you get a problem with topic, add a / at the end:
$topic_url = "./newman/topic/";
you have:
$topic_url = "../newman/topic";
================
Adjust
in header.php
To set the colors of the menu you have to open header.php
Now set the bgcolor.
To center the page use center in the table.
============
In newmanlib line 1096 and line 1126 you can find galerija and change it in your own language.
==============
gts
Peter V
Reply by: letsrock
the menu doesn´t work properly anymore, all links seem to be the same... (just look for yourself)
Reply by: Peter_Vazed
What have you changed?
Reply by: letsrock
i´m not sure what i changed that affected the menu
Reply by: letsrock
Reply by: letsrock
Reply by: Peter_Vazed
gts
Peter V
Reply by: Peter_Vazed
and referenced the local db.inc.php in the newman_lib.php
Have you a second db.inc.php?
This had to go in the webmagazine folder.
And link to it in the index:
require ("db.inc.php");
use the full url in this db.inc.php if it does not work:
$news_pics_path= "/data/members/free/tripod/nl/d/v/z/dvz/htdocs/newman/gfx/news";
$news_pics_url= "h t t p://members.lycos.nl/dvz/newman/gfx/news/";